<!DOCTYPE html>
<html>
  <head>
    <title>EUROC PERFORMANCE PLOTS</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css" href="css/style.css">
  </head>
  <body>

<ul class="nav nav-tabs" id="myTab" role="tablist">
</ul>
<div class="tab-content" id="myTabContent">
</div>

    <script type="text/javascript" src="js/custom.js"></script>
    <script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
    <script type="text/javascript" src="js/pdfobject.js"></script>

    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>

    <!--
    -->
    <script type="text/javascript">
      var datasets = ['V1_01_easy',
                      'V1_02_medium',
                      'V1_03_difficult',
                      'V2_01_easy',
                      'V2_02_medium',
                      'V2_03_difficult',
                      'MH_01_easy',
                      'MH_02_easy',
                      'MH_03_medium',
                      'MH_04_difficult',
                      'MH_05_difficult'];
      for (x of datasets) {
        document.getElementById('myTab').insertAdjacentHTML('beforeend',
          '<li class="nav-item">\n' +
              '<a class="nav-link" id="' + x + '-tab" data-toggle="tab" href="#' + x + '" role="tab" aria-controls="' + x + '" aria-selected="false">'+ x + '</a>\n' +
          '</li>');
        document.getElementById('myTabContent').insertAdjacentHTML('beforeend',
          '<div class="tab-pane fade" id="' + x + '" role="tabpanel" aria-labelledby="' + x + '-tab"></div>');
        PDFObject.embed("data/" + x + "/S/plots.pdf", "#" + x);
      }
    </script>
  </body>
</html>
